package com.eddy.liveline.user.pojo;

import java.io.Serializable;
import java.util.Date;

public class Account implements Serializable {
    private String id;

    private String loginEnable;

    private Integer loginError;

    private Date loginLastTime;

    private String accountPortrait;

    private String accountExplain;

    private String accountDisplayName;

    private String accountEmail;

    private String accountName;

    private String accountPwd;

    public Account(String id, String loginEnable, Integer loginError, Date loginLastTime, String accountPortrait, String accountExplain, String accountDisplayName, String accountEmail, String accountName, String accountPwd) {
        this.id = id;
        this.loginEnable = loginEnable;
        this.loginError = loginError;
        this.loginLastTime = loginLastTime;
        this.accountPortrait = accountPortrait;
        this.accountExplain = accountExplain;
        this.accountDisplayName = accountDisplayName;
        this.accountEmail = accountEmail;
        this.accountName = accountName;
        this.accountPwd = accountPwd;
    }

    public Account() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLoginEnable() {
        return loginEnable;
    }

    public void setLoginEnable(String loginEnable) {
        this.loginEnable = loginEnable == null ? null : loginEnable.trim();
    }

    public Integer getLoginError() {
        return loginError;
    }

    public void setLoginError(Integer loginError) {
        this.loginError = loginError;
    }

    public Date getLoginLastTime() {
        return loginLastTime;
    }

    public void setLoginLastTime(Date loginLastTime) {
        this.loginLastTime = loginLastTime;
    }

    public String getAccountPortrait() {
        return accountPortrait;
    }

    public void setAccountPortrait(String accountPortrait) {
        this.accountPortrait = accountPortrait == null ? null : accountPortrait.trim();
    }

    public String getAccountExplain() {
        return accountExplain;
    }

    public void setAccountExplain(String accountExplain) {
        this.accountExplain = accountExplain == null ? null : accountExplain.trim();
    }

    public String getAccountDisplayName() {
        return accountDisplayName;
    }

    public void setAccountDisplayName(String accountDisplayName) {
        this.accountDisplayName = accountDisplayName == null ? null : accountDisplayName.trim();
    }

    public String getAccountEmail() {
        return accountEmail;
    }

    public void setAccountEmail(String accountEmail) {
        this.accountEmail = accountEmail == null ? null : accountEmail.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName == null ? null : accountName.trim();
    }

    public String getAccountPwd() {
        return accountPwd;
    }

    public void setAccountPwd(String accountPwd) {
        this.accountPwd = accountPwd == null ? null : accountPwd.trim();
    }

    @Override
    public String toString() {
        return "Account{" +
                "id='" + id + '\'' +
                ", loginEnable='" + loginEnable + '\'' +
                ", loginError=" + loginError +
                ", loginLastTime=" + loginLastTime +
                ", accountPortrait='" + accountPortrait + '\'' +
                ", accountExplain='" + accountExplain + '\'' +
                ", accountDisplayName='" + accountDisplayName + '\'' +
                ", accountEmail='" + accountEmail + '\'' +
                ", accountName='" + accountName + '\'' +
                ", accountPwd='" + accountPwd + '\'' +
                '}';
    }
}